[INFO] cloning repository https://github.com/jorisquist/RustMultithreadingTest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jorisquist/RustMultithreadingTest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e3158e73da2653a56ea4a00fdb266168365c61bf
[INFO] checking jorisquist/RustMultithreadingTest against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorisquist%2FRustMultithreadingTest" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jorisquist/RustMultithreadingTest on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jorisquist/RustMultithreadingTest
[INFO] finished tweaking git repo https://github.com/jorisquist/RustMultithreadingTest
[INFO] tweaked toml for git repo https://github.com/jorisquist/RustMultithreadingTest written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jorisquist/RustMultithreadingTest already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hdf5-types v0.8.1
[INFO] [stderr]   Downloaded hdf5-derive v0.8.1
[INFO] [stderr]   Downloaded hdf5 v0.8.1
[INFO] [stderr]   Downloaded bytemuck v1.9.0
[INFO] [stderr]   Downloaded hdf5-sys v0.8.1
[INFO] [stderr]   Downloaded simba v0.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6633dc39fec908d580216388abde9f4fd2af99a585072db9e0922e6c97264def
[INFO] running `Command { std: "docker" "start" "-a" "6633dc39fec908d580216388abde9f4fd2af99a585072db9e0922e6c97264def", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6633dc39fec908d580216388abde9f4fd2af99a585072db9e0922e6c97264def", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6633dc39fec908d580216388abde9f4fd2af99a585072db9e0922e6c97264def", kill_on_drop: false }`
[INFO] [stdout] 6633dc39fec908d580216388abde9f4fd2af99a585072db9e0922e6c97264def
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d249bb90d71b854a6267914cceaf116b9d4c5381c1e1560aa70ac4da9b468cfd
[INFO] running `Command { std: "docker" "start" "-a" "d249bb90d71b854a6267914cceaf116b9d4c5381c1e1560aa70ac4da9b468cfd", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]     Checking bytemuck v1.9.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking safe_arch v0.6.0
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling hdf5-types v0.8.1
[INFO] [stderr]    Compiling hdf5 v0.8.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking wide v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking ascii v1.0.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]     Checking ndarray v0.15.4
[INFO] [stderr]     Checking simba v0.7.1
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling hdf5-sys v0.8.1
[INFO] [stderr]    Compiling clap_derive v3.1.4
[INFO] [stderr]    Compiling hdf5-derive v0.8.1
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]     Checking nalgebra v0.30.1
[INFO] [stderr]     Checking clap v3.1.6
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking RustMultithreading v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/imu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/imu.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayStorage`, `vector`
[INFO] [stdout]  --> src/imu.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use nalgebra::{ArrayStorage, vector};
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nalgebra::Vector3`
[INFO] [stdout]  --> src/imu.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nalgebra::Vector3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayStorage`, `vector`
[INFO] [stdout]  --> src/imu.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use nalgebra::{ArrayStorage, vector};
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::imu::IMUSample`
[INFO] [stdout]  --> src/state_estimation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::imu::IMUSample;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nalgebra::Vector3`
[INFO] [stdout]  --> src/imu.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use nalgebra::Vector3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::imu::IMUSample`
[INFO] [stdout]  --> src/state_estimation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::imu::IMUSample;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pressure::PressureSample`
[INFO] [stdout]  --> src/pressure_calibrator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::pressure::PressureSample;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pressure::PressureSample`
[INFO] [stdout]  --> src/pressure_calibrator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::pressure::PressureSample;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |             .shape((0..)) // first axis is unlimited with initial size of 1
[INFO] [stdout]    |                    ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -             .shape((0..)) // first axis is unlimited with initial size of 1
[INFO] [stdout] 17 +             .shape(0..) // first axis is unlimited with initial size of 1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |             .chunk((10))  // each chunk contains ny * nx elements
[INFO] [stdout]    |                    ^  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -             .chunk((10))  // each chunk contains ny * nx elements
[INFO] [stdout] 16 +             .chunk(10)  // each chunk contains ny * nx elements
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |         self.dataset.resize((size+1));
[INFO] [stdout]    |                             ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -         self.dataset.resize((size+1));
[INFO] [stdout] 25 +         self.dataset.resize(size+1);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 |         self.dataset.write_slice(&[sample], (size..size+1));
[INFO] [stdout]    |                                             ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         self.dataset.write_slice(&[sample], (size..size+1));
[INFO] [stdout] 26 +         self.dataset.write_slice(&[sample], size..size+1);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs`, `thread`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::{fs, thread};
[INFO] [stdout]    |           ^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array2`, `Array`
[INFO] [stdout]   --> src/main.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ndarray::{Array, Array1, Array2};
[INFO] [stdout]    |               ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `arr2`, `s`
[INFO] [stdout]   --> src/main.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use ndarray::{arr2, s};
[INFO] [stdout]    |               ^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::samples::SensorSample::IMU`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::samples::SensorSample::IMU;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |             .shape((0..)) // first axis is unlimited with initial size of 1
[INFO] [stdout]    |                    ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -             .shape((0..)) // first axis is unlimited with initial size of 1
[INFO] [stdout] 17 +             .shape(0..) // first axis is unlimited with initial size of 1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |             .chunk((10))  // each chunk contains ny * nx elements
[INFO] [stdout]    |                    ^  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -             .chunk((10))  // each chunk contains ny * nx elements
[INFO] [stdout] 16 +             .chunk(10)  // each chunk contains ny * nx elements
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |         self.dataset.resize((size+1));
[INFO] [stdout]    |                             ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -         self.dataset.resize((size+1));
[INFO] [stdout] 25 +         self.dataset.resize(size+1);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/state_logger.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 |         self.dataset.write_slice(&[sample], (size..size+1));
[INFO] [stdout]    |                                             ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         self.dataset.write_slice(&[sample], (size..size+1));
[INFO] [stdout] 26 +         self.dataset.write_slice(&[sample], size..size+1);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs`, `thread`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::{fs, thread};
[INFO] [stdout]    |           ^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array2`, `Array`
[INFO] [stdout]   --> src/main.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ndarray::{Array, Array1, Array2};
[INFO] [stdout]    |               ^^^^^  ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `arr2`, `s`
[INFO] [stdout]   --> src/main.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use ndarray::{arr2, s};
[INFO] [stdout]    |               ^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::samples::SensorSample::IMU`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::samples::SensorSample::IMU;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `T: std::default::Default` is not satisfied
[INFO] [stdout]    --> src/state_logger.rs:20:48
[INFO] [stdout]     |
[INFO] [stdout] 20  |         StateLogger::<T> {dataset: ds, buffer: Array1::default(10) }
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `T`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `ndarray::impl_constructors::<impl ArrayBase<S, D>>::default`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ndarray-0.15.4/src/impl_constructors.rs:364:12
[INFO] [stdout]     |
[INFO] [stdout] 364 |         A: Default,
[INFO] [stdout]     |            ^^^^^^^ required by this bound in `ndarray::impl_constructors::<impl ArrayBase<S, D>>::default`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 11  | impl<T: H5Type + Debug + Copy + std::default::Default> StateLogger<T> {
[INFO] [stdout]     |                               +++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `T: std::default::Default` is not satisfied
[INFO] [stdout]    --> src/state_logger.rs:20:48
[INFO] [stdout]     |
[INFO] [stdout] 20  |         StateLogger::<T> {dataset: ds, buffer: Array1::default(10) }
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `T`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `ndarray::impl_constructors::<impl ArrayBase<S, D>>::default`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ndarray-0.15.4/src/impl_constructors.rs:364:12
[INFO] [stdout]     |
[INFO] [stdout] 364 |         A: Default,
[INFO] [stdout]     |            ^^^^^^^ required by this bound in `ndarray::impl_constructors::<impl ArrayBase<S, D>>::default`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]     |
[INFO] [stdout] 11  | impl<T: H5Type + Debug + Copy + std::default::Default> StateLogger<T> {
[INFO] [stdout]     |                               +++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `StateLogger` in the current scope
[INFO] [stdout]    --> src/main.rs:106:35
[INFO] [stdout]     |
[INFO] [stdout] 106 |     println!("{:?}", state_logger.read(0));
[INFO] [stdout]     |                                   ^^^^ method not found in `StateLogger<IMUSample>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/state_logger.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct StateLogger <T> where T : H5Type + Debug + Copy {
[INFO] [stdout]     | -------------------------- method `read` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `read`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `std::io::Read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `StateLogger` in the current scope
[INFO] [stdout]    --> src/main.rs:106:35
[INFO] [stdout]     |
[INFO] [stdout] 106 |     println!("{:?}", state_logger.read(0));
[INFO] [stdout]     |                                   ^^^^ method not found in `StateLogger<IMUSample>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/state_logger.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct StateLogger <T> where T : H5Type + Debug + Copy {
[INFO] [stdout]     | -------------------------- method `read` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `read`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `std::io::Read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustMultithreading` due to 3 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `RustMultithreading` due to 3 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d249bb90d71b854a6267914cceaf116b9d4c5381c1e1560aa70ac4da9b468cfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d249bb90d71b854a6267914cceaf116b9d4c5381c1e1560aa70ac4da9b468cfd", kill_on_drop: false }`
[INFO] [stdout] d249bb90d71b854a6267914cceaf116b9d4c5381c1e1560aa70ac4da9b468cfd
